package lab02.test37;

 class Graduate extends Student {
     @Override
     String grade() {
         for (i = 0; i <= 2; i++) {
             sum = sum + grade1[i];
                          }
                          sum=sum/3;
         if (sum>=80){
             return "准许授予研究生学位";
         }
         else
             return "不授予研究生学位";
         }
     }

